<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>布局容器</title>
		<link rel="stylesheet" type="text/css" href="bootstrap-3.4.1/dist/css/bootstrap.css"/>
		<script src="js/jQuery3.6.js" type="text/javascript" charset="utf-8"></script>
		<script src="bootstrap-3.4.1/dist/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div class="container">
			<!-- 列组合 -->
			<div class="row">
				<!-- column md-4 -->
				<div class="col-md-4" style="background-color: red;">
					AAAAA
				</div>
				<div class="col-md-8" style="background-color: gray;">
					BBBB
				</div>
				<div class="col-md-1" style="background-color: green;">
					CCC
				</div>
			</div>
			<div class="row">
				<!-- column md-4 -->
				<div class="col-md-6" style="background-color: red;">
					左
				</div>
				<div class="col-md-6" style="background-color: gray;">
					右
				</div>
			</div>
			<div class="row">
				<!-- column md-4 -->
				<div class="col-md-4" style="background-color: red;">
					左
				</div>
				<div class="col-md-4" style="background-color: gray;">
					中
				</div>
				<!-- column md-4 -->
				<div class="col-md-4" style="background-color: red;">
					右
				</div>
			</div>
		</div>
		<!-- 列偏移 -->
		<div class="container">
			<div class="row">
				<div class="col-md-1" style="background-color: red;">一列</div>
				<div class="col-md-1" style="background-color: burlywood;">二列</div>
				<div class="col-md-1 col-md-offset-8" style="background-color: green;">三列</div>
				<div class="col-md-1" style="background-color: green;">12列</div>
			</div>
		</div>
		<!-- 列排序 -->
		<div class="container">
		    <div class="row">
				<!-- push,pull -->
				<div class="col-md-1 col-md-push-10" style="background-color: pink;">1列</div>
				<div class="col-md-1 col-md-pull-1" style="background-color: orange;">2列</div>	
			</div>
		</div>
		<!-- 列嵌套 -->
		<div class="container">
		    <div class="row">
		        <div class="col-md-2">
		            我的里面嵌套了一个网格
		            <div class="row">
		                <div class="col-md-9">9</div>
		                <div class="col-md-3">3</div>
		            </div>
		        </div>
		        <div class="col-md-10">我的里面嵌套了一个网格
		            <div class="row">
		                <div class="col-md-10">10</div>
		                <div class="col-md-2">2</div>
		            </div>
		        </div>				
		    </div>
		</div>
	</body>
</html>
